package com.dhecp.core.enums;

/**
 * 控件类型
 * @author DH-Xxj
 * @version 2019年10月21日
 */
public enum ControlType {

	T_Lable("t_lable","标题/注解"),
	T_Decimal("t_decimal","数值输入框"),
	T_Text("t_text","文本输入框"),
	T_TextArea("t_textarea","文本区域"),
	T_DropDown("t_dropdown","下拉框"),
	T_DropDownEdit("t_dropdownedit","可编辑下拉框"),
	T_File("t_file","附件"),
	T_File2("t_file2","照片附件"),
	T_ButtonText("t_buttontext","弹出框"),
	T_ButtonTextEdit("t_buttontextedit","可编辑弹出框"),
	T_Radio("t_radio","单选按钮"),
	T_Checkbox("t_checkbox","复选框"),
	T_CheckCondition("t_checkcondition","钩选查询条件"),
	T_Year("t_year","年份选择框"),
	T_Monthly("t_monthly","年月选择器"),
	T_Date("t_date","日期选择框"),
	T_DateTime("t_datetime","日期时间选择框");

    private String code;
    private String info;

    ControlType(String code, String info){
        this.code = code;
        this.info = info;
    }

    public String getCode(){
        return code;
    }

    public String getInfo(){
        return info;
    }
}
